package com.wys.read.dao;

import com.wys.read.entity.Category;
import com.wys.read.vo.CategoryVO;
import org.beetl.sql.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wys
 * created in 23:22 2019/1/4
 */
@Repository
public interface CategoryDao extends BaseMapper<Category> {

    /**
     * 获得分类
     * @return
     */
    List<CategoryVO> getCategory();

}
